﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    background-color: #fdfdfd;
}

.iframe-close {
    margin-left: 10px;
}

    .iframe-close:hover {
        color: #5fb878;
    }

.iframe-option {
    width: 100%;
    height: 100%;
    border: 0;
}

.control-menu {
    margin-right: 10px;
}

.w250 {
    width: 250px;
}

.ptop20 {
    padding-top: 20px;
}

.ptop15 {
    padding-top: 15px;
}

.ptop10 {
    padding-top: 10px;
}

/* 登录 */
.tc-login {
    height: 400px;
    margin-top: -235px;
}

.tc-panel {
    padding: 35px;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 350px;
    box-shadow: 2px 2px 6px #3D3D3D;
    margin-left: -210px;
    overflow: auto;
    z-index: 100;
    background-color: #fff;
}

.tc-panel-back {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.tc-login-logo, .tc-login-logo img {
    height: 22px;
}

.tc-login-option {
    margin-top: 25px;
    overflow: auto;
}

    .tc-login-option h1 {
        font-size: 20px;
    }

    .tc-login-option .tc-login-option-small {
        width: calc(100% - 129px);
        float: left;
    }

    .tc-login-option .tc-login-btn {
        height: 29px;
        float: left;
        text-align: center;
        padding-top: 7px;
        border: 1px #ccc solid;
        margin-left: 7px;
        width: 120px;
    }

    .tc-login-option .tc-login-img {
        height: 35px;
        margin-left: 7px;
        width: 122px;
    }

    .tc-login-option .tc-login-w100 {
        width: 100%;
    }

@media screen and (max-width:768px) {
    .tc-panel {
        padding: 35px;
        position: inherit;
        left: 0;
        top: 0;
        width: calc(100% - 70px);
        height: calc(100% - 70px);
        box-shadow: none;
        margin-left: 0;
        margin-top: 0;
        overflow: auto;
    }

    .tc-panel-back {
        width: 0;
        height: 0;
    }

    .tc-nav-op .logo {
        height: 22px;
        margin-top: 24px;
        margin-left: 10px;
    }
}
/* 菜单配置和地图信息 */
.tree-panel {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .tree-panel .ztree {
        width: 250px;
        height: 100%;
        float: left;
        padding: 15px;
        background-color: #f2f2f2;
    }

    .tree-panel .edit {
        width: calc(100% - 300px);
        height: 100%;
        float: left;
    }

/* 重写layer-form */
.query-form .layui-form-item {
    margin-bottom: 10px;
}

    .query-form .layui-form-item .layui-inline .layui-form-label {
        font-size: 14px;
        padding: 4px 15px;
    }

    .query-form .layui-form-item .layui-inline .layui-form-mid {
        padding: 5px 0 !important;
    }

    .query-form .layui-form-item .layui-inline .layui-input-inline .layui-input {
        font-size: 14px;
        height: 30px;
    }

    .query-form .layui-form-item .layui-inline .query-text {
        width: 515px;
    }
/* 覆盖layui */
.layui-table, .layui-table-view {
    margin: 0;
}

.layui-nav .layui-nav-item {
    line-height: 59px;
}

.layui-table-cell img{
    width: 30px;
    height: 24px;
}
